
#include "stdafx.h"
#include "WicDevelopRaw.h"

CWicDevelopRaw::CWicDevelopRaw()
{
    m_pIWICDevelopRaw = NULL;
}

CWicDevelopRaw::~CWicDevelopRaw()
{
    if(m_pIWICDevelopRaw)
    {
        m_pIWICDevelopRaw->Release();
    }
    m_pIWICDevelopRaw = NULL;
}

CWicDevelopRaw::CWicDevelopRaw(CWicDevelopRaw const & objDevelopRaw)
{
    m_pIWICDevelopRaw = objDevelopRaw.m_pIWICDevelopRaw;
    m_pIWICDevelopRaw->AddRef();
}

CWicDevelopRaw& CWicDevelopRaw::operator=(CWicDevelopRaw const & objDevelopRaw)
{
    if(m_pIWICDevelopRaw)
    {
        m_pIWICDevelopRaw->Release();
    }
    m_pIWICDevelopRaw = objDevelopRaw.m_pIWICDevelopRaw;
    m_pIWICDevelopRaw->AddRef();
    return *this;
}
